package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
* <p>
* oms订单表
* </p>
*
* @author huangrensen
* @since 2024-08-02
*/
@Schema
@Data
public class OdsOmsRetailSalesOrderMainForm {
    @Schema(description="订单号")
    private String orderSn;

    @Schema(description="交易号")
    private String dealCode;

    @Schema(description="来源类型")
    private Long lylx;

    @Schema(description="商店id")
    private Long sdId;

    @Schema(description="订单状态")
    private Long orderStatus;

    @Schema(description="订单配送状态")
    private Long shippingStatus;

    @Schema(description="订单支付状态")
    private Long payStatus;

    @Schema(description="快递编码")
    private String shippingCode;

    @Schema(description="快递名称")
    private String shippingName;

    @Schema(description="快递单号")
    private String shippingSn;

    @Schema(description="快递费用")
    private Long shippingFee;

    @Schema(description="服务订单总费用")
    private Long serviceOrderFee;

    @Schema(description="订单总金额")
    private Long totalAmount;

    @Schema(description="已付金额")
    private Long payment;

    @Schema(description="应付金额")
    private Long orderAmount;

    @Schema(description="是否被拆分")
    private Integer isSplit;

    @Schema(description="是否拆分子单")
    private Integer isSplitNew;

    @Schema(description="是否被合并")
    private Integer isCombine;

    @Schema(description="是否合并新单")
    private Integer isCombineNew;

    @Schema(description="是否复制单")
    private Integer isCopy;

    @Schema(description="是否换货单")
    private Integer isHh;

    @Schema(description="订单备注")
    private String orderMsg;

    @Schema(description="商家留言")
    private String sellerMsg;

    @Schema(description="卖家备注旗帜")
    private String sellerFlag;

    @Schema(description="买家留言")
    private String buyMsg;

    @Schema(description="收货人昵称")
    private String userName;

    @Schema(description="收货姓名")
    private String receiverName;

    @Schema(description="收货地址")
    private String receiverAddress;

    @Schema(description="收货电话")
    private String receiverTel;

    @Schema(description="收货手机号")
    private String receiverMobile;

    @Schema(description="总重量(单位KG)")
    private Long weigh;

    @Schema(description="下单时间")
    private LocalDateTime addTime;

    @Schema(description="支付时间")
    private LocalDateTime payTime;

    @Schema(description="发货时间")
    private LocalDateTime shippingTimeFh;

    @Schema(description="出库时间")
    private LocalDateTime shippingTimeCk;

    @Schema(description="")
    private String lastchanged;

    @Schema(description="订单商品折让")
    private Long discountFee;

    @Schema(description="订单其他折让(整单折让)")
    private Long otherDiscountFee;

    @Schema(description="客户确认收货（完成）时间戳")
    private Long completeTime;

    @Schema(description="转单时间")
    private LocalDateTime transTime;

    @Schema(description="推送时间")
    private LocalDateTime syncTime;

    @Schema(description="")
    private String userId;

    @Schema(description="确认时间")
    private LocalDateTime confirmTime;

    @Schema(description="通知配货时间")
    private LocalDateTime shippingTimeTzph;

    @Schema(description="是否挂起")
    private Integer isHandup;

    @Schema(description="")
    private String oaid;

    @Schema(description="")
    private Integer isShougong;

    @Schema(description="仓库留言")
    private String storageMessage;

    @Schema(description="")
    private String tmHhId;

    @Schema(description="收货地址省")
    private String receiverProvinceName;

    @Schema(description="收货地址市")
    private String receiverCityName;

    @Schema(description="收货地址区")
    private String receiverDistrictName;

    @Schema(description="淘宝分销采购单号")
    private String tbfxId;

    @Schema(description="")
    private String o2oGuideId;

    @Schema(description="")
    private String o2oShopId;

    @Schema(description="店铺代码")
    private Long sdCode;

    @Schema(description="店铺名称")
    private Long sdName;

    @Schema(description="发货仓库代码")
    private Long fhck;

    @Schema(description="仓库名称")
    private Long fhckmc;

    @Schema(description="渠道代码")
    private Long qdCode;

    @Schema(description="渠道名称")
    private Long qdName;

    @Schema(description="订单变动时间")
    private LocalDateTime lastUpdate;

    @Schema(description="")
    private Integer isElectronic;

    @Schema(description="订单确认人")
    private String orderQrr;

    @Schema(description="")
    private String i4;

    @Schema(description="换货原始交易号")
    private String oriDealCode;

    @Schema(description="换货原始订单号")
    private String oriOrderSn;

    @Schema(description="支付流水号")
    private String paySn;

    @Schema(description="")
    private Integer orderCustomType;

    @Schema(description="")
    private String kfOrderId;

    @Schema(description="")
    private String kfOrderIdName;

    @Schema(description="")
    private String kfOrderIdCode;

    @Schema(description="")
    private String kfXsId;

    @Schema(description="")
    private String kfXsIdName;

    @Schema(description="")
    private String kfXsIdCode;

    @Schema(description="")
    private Integer invoiceCount;

    @Schema(description="")
    private Integer invoiceAmount;

    @Schema(description="")
    private Integer invoiceType;

    @Schema(description="")
    private String invoiceNumber;

    @Schema(description="")
    private String invoiceTitle;

    @Schema(description="")
    private String invoicePay;

    @Schema(description="")
    private String invoiceContent;

    @Schema(description="")
    private String invoicePhone;

    @Schema(description="")
    private String invoiceAddr;

    @Schema(description="")
    private String invoiceAccount;

    @Schema(description="")
    private String invoiceBank;

    @Schema(description="")
    private String invoiceTaxNo;

    @Schema(description="")
    private Integer totalFxsPrice;

    @Schema(description="")
    private String tagsName;

    @Schema(description="WMS回传E3发货状态（0：未处理，1：成功，2：失败）")
    private Integer wmsSyncStatus;

    @Schema(description="")
    private String hhdjyh;

}
